//
//  SKUICellLabel.h
//  Sudoku
//
//  Created by Richard Hodgkins on 09/09/2012.
//  Copyright (c) 2012 Richard Hodgkins. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "SKCellTapDelegate.h"

typedef enum {
    SKCellStateEmpty,
    SKCellStateCorrect,
    SKCellStateIncorrect
} SKCellState;

@interface SKUICellLabel : UILabel

- (id)initWithFrame:(CGRect)frame andNumber:(SInt8)number andDelegate:(id<SKCellDelegate>) delegate;

- (id)initWithFrame:(CGRect)frame andNumber:(SInt8)number andPreviousMove:(SInt8)previousMove andDelegate:(id<SKCellDelegate>)delegate;

- (BOOL) isEditable;

- (SInt8) currentMove;

- (BOOL) updateCurrentNumber:(SInt8) number;

- (BOOL) updatePencilNumber:(SInt8) number;

- (void) updatePencilMode:(BOOL)isInPencilMode;

- (BOOL) reset;

- (SKCellState) state;

@end
